Adding OpenCode agent default mode and CLI workspace mode#412
Merged
Conversation
Signed-off-by: Chathurangi Shyalika <chathurangishyalika@Chathurangis-MacBook-Pro.local>
1772539 to
cd22f63
Compare
Signed-off-by: Chathurangi Shyalika <chathurangishyalika@Chathurangis-MacBook-Pro.local>
5898419 to
ef174e1
Compare
DhavalRepo18
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Revises
opencode_agentrunner backed by the OpenCode CLI and integrates it with the AssetOpsBench scenario suite.This PR supports two execution modes:
Changes
OpenCodeAgentRunnerandopencode-agentCLI entry point.--agent_name opencode_agent.--opencode-workspace-root--opencode-allow-files--opencode-allow-bash--opencode-allow-editexternal_directoryaccess by default.Safety Notes
By default, the agent is MCP-only and cannot inspect local files, run bash, edit files, or access the web.
CLI capabilities are opt-in. When file or bash access is enabled, each scenario run receives a dedicated workspace directory. This gives CLI agents a place to write scripts, temporary files, and intermediate artifacts.
--opencode-allow-bashis not a hard OS-level sandbox. For strict filesystem isolation, the benchmark should be run inside Docker or another sandboxed environment.Testing